package com.design.pattern.structural.decorator;

/**
 * 服饰类
 * @Author hanyuanlai
 * @Date 2022/7/14
 */
public abstract class Finery extends Person{
    private Person person;

    public Finery dress(Person person) {
        this.person = person;
        return this;
    }
    @Override
    void chuanyifu() {
        person.chuanyifu();
    }

    @Override
    void eat() {

    }
}
